package com.weizhu.swufer.core.annotation;

import org.springframework.stereotype.Component;

import java.lang.annotation.*;

@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD})
@Component
public @interface SwuferReference {
    String referService() default "";

    long maxWaitTime() default -1L;

    String failBackMockService() default "";

    String targetAddress() default "";

    boolean async() default false;
}
